<div ms-controller="addNewBill" class="new-bill">
  <p class="path">您现在的位置为：<span ms-text="@breadcrumb">固办-领用单管理</span></p>
<!--   <p class="info">
  <img src="img/index/u423.png" alt="" class="title-img"/>
  <span class="title">主信息</span>
  </p> -->
  <form class="form-inline" id="billForm1"></form>
  <table class="table table-hover table-bordered">
    <thead class="thead" id="theadContent">
      <tr>
        <th ms-for="($index,el) in @columnNames" ms-text="el"></th>
      </tr>
    </thead>
    <tbody class="tbody" id="tdContent">
    </tbody>
  </table>
  <div class="operate-btn">
    <div class="operate-btn-group">
      <button type="button" class="btn btn-default" ms-if="!@isChange" ms-attr="{disabled:@BillStatus==='view' || @BillType==='sq' || @BillType==='jy' || @BillType==='dh'}"
        ms-click="@changeStatus">修改
            </button>
      <button type="button" class="btn btn-primary" ms-click="@saveBill" ms-attr="{disabled:@BillStatus==='view' || !@canSave}"
        ms-if="@isChange">保存
            </button>
      <button type="button" class="btn btn-success" ms-attr="{disabled:(@BillStatus==='view' || @isChange)}" ms-click="@saveBillAndApply">提交申请
            </button>
      <button type="button" class="btn btn-success"
      ms-attr="{disabled:(@BillStatus!=='view')}"
      ms-click="@billPrint"
      ms-if="!@isGYKS && @BillType === 'ly'">打印
      </button>
      <button type="button" class="btn btn-success" ms-click="@queryAccount" ms-if="!@isGYKS && @BillType === 'ly'">账户查询
            </button>
      <button type="button" class="btn btn-warning" ms-click="@back">返回</button>
    </div>
  </div>
</div>